import ajax from "./index";

// 1. 登录
export const checkLogin = (username, password) => ajax('/api/auth/admin/login', {
  username, password
}, 'post')

// 2. 退出登录
export const checkLogout = (username, password) => ajax('/api/auth/admin/logout')
